<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<!-- 若没有在 meta 中定义 viewport，浏览器会自行定义给予预设值，而且显示效果很糟糕
              若没有该标签，媒体查询也会失效 -->
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<link rel="stylesheet" type="text/css" href="./css/index.css" />
		<title>炫酷登录页</title>
	</head>
	<body>
		<div class="loginBox">
			<h2>Login</h2>
			<form action="" method="">
				<!-- required 属性规定必需在提交表单之前填写输入字段 -->
				<div class="item">
					<input type="text" required>
					<label for="">UserName</label>
				</div>
				<div class="item">
					<input type="password" required>
					<label for="">PassWord</label>
				</div>
				<button class="btn" href="javascript:;">submit
					<span></span>
					<span></span>
					<span></span>
					<span></span>
				</button>
			</form>
		</div>
	</body>
</html>
